<!DOCTYPE html>
<html lang="zh">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>今天吃什么 - 美食决定器</title>
    <link rel="stylesheet" href="styles/main.css">
  </head>
  <body>
    <div class="container">
      <!-- 添加更多食物装饰元素 -->
      <div class="food-decoration food-1">🍜</div>
      <div class="food-decoration food-2">🍖</div>
      <div class="food-decoration food-3">🍱</div>
      <div class="food-decoration food-4">🍚</div>
      <div class="food-decoration food-5">🥘</div>
      <div class="food-decoration food-6">🍲</div>
      <div class="food-decoration food-7">🥗</div>
      <div class="food-decoration food-8">🍛</div>
      <div class="food-decoration food-9">🥪</div>
      <div class="food-decoration food-10">🍝</div>
      <div class="food-decoration food-11">🌮</div>
      <div class="food-decoration food-12">🥟</div>
      <div class="food-decoration food-13">🍕</div>
      <div class="food-decoration food-14">🍣</div>
      <div class="food-decoration food-15">🥩</div>
      <div class="food-decoration food-16">🍗</div>
      <div class="food-decoration food-17">🥡</div>
      <div class="food-decoration food-18">🌯</div>
      <div class="food-decoration food-19">🥨</div>
      <div class="food-decoration food-20">🍙</div>
      <div class="food-decoration food-21">🥐</div>
      <div class="food-decoration food-22">🍤</div>
      <div class="food-decoration food-23">🥢</div>
      <div class="food-decoration food-24">🍴</div>
      <div class="food-decoration food-25">🥄</div>
      <div class="food-decoration food-26">🍽️</div>
      <div class="food-decoration food-27">🥄</div>
      <div class="food-decoration food-28">🍴</div>
      
      <div class="food-picker">
        <h1 class="title">今天吃什么?</h1>
        <div class="food-result">点击下方按钮获取美食灵感</div>
        <button class="button" id="pickButton">随机选择</button>
        <button class="button button-secondary" id="menuButton">我的菜单</button>
      </div>
    </div>

    <!-- 菜单管理弹窗 -->
    <div id="menuModal" class="modal">
      <div class="modal-content">
        <h2>我的菜单</h2>
        <div class="menu-input-group">
          <input type="text" id="newDish" placeholder="输入新菜品名称">
          <button id="addButton" class="button button-small">添加</button>
        </div>
        <div class="menu-actions">
          <input type="file" id="menuFile" accept=".txt" class="file-input" />
          <button id="importButton" class="button button-secondary button-small">导入菜单</button>
          <button id="exportButton" class="button button-secondary button-small">导出菜单</button>
          <button id="defaultButton" class="button button-secondary button-small">默认菜单</button>
          <button id="clearButton" class="button button-danger button-small">清空菜单</button>
        </div>
        <div id="dishList" class="dish-list">
          <!-- 菜品列表将通过 JavaScript 动态生成 -->
        </div>
        <div class="close-button-container">
          <button id="closeButton" class="button">关闭</button>
        </div>
      </div>
    </div>

    <script type="module" src="scripts/config.js"></script>
    <script type="module" src="scripts/main.js"></script>
  </body>
</html> 